<?php

class Core_Table_Model_Menu extends Database_Table_Row
{

	function getId()
	{
		return $this -> menu_id;
	}

	function getCssId()
	{
		$extra = json_decode($this -> extra, 1);

		return isset($extra['id']) ? $extra['id'] : '';
	}

	function getCssClass()
	{
		$extra = json_decode($this -> extra, 1);

		return isset($extra['class']) ? $extra['class'] : '';
	}

}
